package com.cool.commonredis;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import redis.clients.jedis.Jedis;

/**
 * @Author ifredomvip@gmail.com
 * @Date 2022/7/25 16:08
 * @Version 1.0.0
 * @Description
 **/
@RestController
public class JedisRedisWork {

    @GetMapping("/jedis")
    public String jedisWork() {

        return "jedis 事务操作范例，秒杀场景，访问地址即可";
    }
}
